package ngat.oss.simulation;

import java.util.*;

import ngat.phase2.*;
import ngat.util.TimeWindow;

/** Calculates how much time is left for a group to execute in a given window.*/
public class DummyTimingConstraintWindowCalculator implements TimingConstraintWindowCalculator {

    /** Returns a List of feasible windows for the specified group which overlap the interval
     * [ts,te]. The windows may start any time before te and end anytime after ts.
     * @param group The group fro which feasible windows are required.
     * @param history The execution history of the group.
     * @param ts Start of the overlap interval.
     * @param te End of the overlap interval.
     */
    public List listFeasibleWindows(Group group, 
				    ExecutionStatistics history,
				    long ts, 
				    long te) { return null; }
    
    /** Returns how much time is left for a group to execute in a  window containing specified time.*/
    public long calculateRemainingTime(Group group, 
				       long  time, 
				       EnvironmentSnapshot env, 
				       ExecutionStatistics hist) { return 0L; }

	public long calculateRemainingTime(Group group, TimeWindow window, long t, EnvironmentSnapshot env, ExecutionStatistics hist) {
		// TODO Auto-generated method stub
		return 0;
	}

	public int countRemainingNights(Group group, TimeWindow window, long t, EnvironmentSnapshot env, ExecutionStatistics hist) {
		// TODO Auto-generated method stub
		return 0;
	}

	public TimeWindow getWindow(Group group, ExecutionStatistics history, long t) {
		// TODO Auto-generated method stub
		return null;
	}

}
